<!--
<div>
<a href="#">全部</a>
<a href="#">原创</a>
<a href="#">图片</a>
<a href="#">视频</a>
<a href="#">音乐</a>
</div>
-->
<php>if(empty($weibolist)) {</php>暂无更多信息<php>}</php>
<volist name="weibolist" id="weibo">
<div class="list">
    <php>if ($weibo['transpond_id'] == 0) {</php>
        <!-- 原创 -->
        <php>if($hideUsername!=1){</php><a href="{:U('wap/Index/weibo',array('uid'=>$weibo['uid']))}">{$weibo['uname']}</a>: <php>}</php>
        <php>$detail_more = get_str_length($weibo['content'], true) > 140 ? ' <a href="' . U('wap/Index/detail',array('id'=>$weibo['weibo_id'])) . '" target="_blank">查看更多&gt;&gt;</a>' : '';</php>
        {$weibo['content']|getShort=###,140,'...'}{$detail_more}<br/>
        <php>if($weibo['type']==1) {</php>
        <a href="{:U('wap/Index/detail',array('weibo_id'=>$weibo['weibo_id']))}"><img src="{$weibo['type_data']['thumburl']}" width="100" /></a>
        <php>}</php>
    <php>}else {</php>
        <!-- 转发 -->
        <php>$forward = $weibo['transpond_data'];</php>
        <php>if($hideUsername!=1){</php><a href="{:U('wap/Index/weibo',array('uid'=>$weibo['uid']))}">{$weibo['uname']}</a>: <php>}</php>
        <php>$forward_detail_more = get_str_length($forward['content'], true) > 140 ? ' <a href="' . U('wap/Index/detail',array('id'=>$forward['weibo_id'])) . '" target="_blank">查看更多&gt;&gt;</a>' : '';</php>
        转发 <a href="{:U('wap/Index/weibo',array('uid'=>$forward['uid']))}">@{$forward['uname']}</a> 的微博:{$forward['content']|getShort=###,140,'...'}{$forward_detail_more}<br />
        <php>if($forward['type']==1) {</php>
        <a href="{:U('wap/Index/detail',array('weibo_id'=>$weibo['weibo_id']))}"><img src="{$forward['type_data']['thumburl']}" width="100" /></a>
        <php>}</php>
        <a href="{:U('wap/Index/forward', array('weibo_id'=>$forward['weibo_id']))}">原文转发[{$forward['transpond']}] </a> 
        <a href="{:U('wap/Index/detail',array('weibo_id'=>$forward['weibo_id']))}">原文评论[{$forward['comment']}]</a><br />
        <php>$detail_more = get_str_length($weibo['content'], true) > 140 ? ' <a href="' . U('wap/Index/detail',array('id'=>$weibo['weibo_id'])) . '" target="_blank">查看更多&gt;&gt;</a>' : '';</php>
        转发理由: {$weibo['content']|getShort=###,140,'...'}{$detail_more}
    <php>}</php>
    <p>
    <a href="{:U('wap/Index/forward', array('weibo_id'=>$weibo['weibo_id']))}">转发[{$weibo['transpond']}]</a> 
    <a href="{:U('wap/Index/detail',array('weibo_id'=>$weibo['weibo_id']))}">评论[{$weibo['comment']}]</a> 
    <php>if($weibo['favorited']==1) {</php>
    <a href="{:U('wap/Index/doUnFavorite',array('weibo_id'=>$weibo['weibo_id'],'from'=>ACTION_NAME,'key'=>$keyword,'page'=>$page))}">取消收藏</a> 
    <php>}else {</php>
    <a href="{:U('wap/Index/doFavorite',array('weibo_id'=>$weibo['weibo_id'],'from'=>ACTION_NAME,'key'=>$keyword,'page'=>$page))}">收藏</a>
    <php>}</php>
    <php>if($weibo['uid'] == $ts['user']['uid']) {</php>
    <a href="{:U('wap/Index/doDelete',array('weibo_id'=>$weibo['weibo_id'],'from'=>ACTION_NAME,'key'=>$keyword,'page'=>$page))}">删除</a>
    <php>}</php>
    <em>{$weibo['ctime']} 来自{$from_type[$weibo['from']]}</em>
    </p>
</div>
</volist>